package com.scs.application.modules.upms.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @Description: EmailSendVerifyCodeDTO
 **/
@Data
@Accessors(chain = true)
public class EmailSendVerifyCodeDTO extends LoginSendVerifyCodeDTO {
    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式错误")
    public String email;
}
